describe("compare ages", function() {

	var u1 = {
		name : 'tina',
		surname : 'ivanova',
		age : 18
	};

	var u2 = {
		name : 'kostas',
		surname : 'kougios',
		age : 25
	};

	var u3 = {
		name : 'lubomir',
		surname : 'ivanov',
		age : 18
	};

	it("user1 younger than user2", function() {
		expect(UserManagement.comparison(u1, u2)).toBe("tina is younger than kostas");
	});

	it("user2 older than user1", function() {
		expect(UserManagement.comparison(u2, u1)).toBe("kostas is older than tina");
	});

	it("user1 same age as user3", function() {
		expect(UserManagement.comparison(u1, u3)).toBe("tina is same age as lubomir");
	});
});